let count = 0;

function Num() {}    //构造Num函数

//Num的两个公开方法
Num.prototype.add = () => count++;    
Num.prototype.getCount = () => count;

module.exports = Num;
